<?php

namespace App\Http\Requests;


class ProjectRequest extends FormRequest
{

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, mixed>
     */
    public function rules()
    {
        return [
            'keyword' => 'string|nullable|max:100',
            'start_date' => 'date|nullable',
            'end_date' => 'date|nullable',
            'category_id' => 'int|nullable',
            'province_id' => 'int|nullable',
            'city_id' => 'int|nullable',
            //'district_id' => 'int|nullable',
        ];
    }
}
